﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using DevExpress.Web.ASPxGridView;

/// <summary>
/// Summary description for MyTemplate
/// </summary>
public class MyTemplate:ITemplate
{
    public void InstantiateIn(Control container)
    {
        LiteralControl lc = new LiteralControl();
        lc.ID = "label";
        GridViewEditItemTemplateContainer templateControl = container as GridViewEditItemTemplateContainer;
        lc.Text = templateControl.Text;
        container.Controls.Add(lc);
    }
}